<!doctype html>
<html>
<head>
<script>
if (window.testRunner)
    testRunner.waitUntilDone();

function runTest() {
    var shadow = host.attachShadow({mode: 'open'});
    shadow.innerHTML = "<style> [ishidden=true] { display: none; } </style><p ishidden='false'>NotHidden</p><p ishidden='true' id='target'>Hidden</p>";
    var target = shadow.getElementById("target");
    window.setTimeout(function() {
        if (window.testRunner)
            testRunner.notifyDone();
    }, 0);
};
</script>
</head>
<body onload="runTest()">
<div id="host"></div>
</body>
</html>
